package com.jiyinit.web.core.run.service;

import com.jiyinit.web.core.run.dao.TabRunCountDao;
import com.jiyinit.web.core.run.dao.TabRunCountTotalDao;
import com.jiyinit.web.core.run.entity.TabRunCountEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by Jiyinuser071 on 2018/12/12.
 */
@Service("run.runCountTotalServiceImpl")
public class RunCountTotalServiceImpl {

    @Resource(name = "run.tabRunCountTotalDao")
    private TabRunCountTotalDao tabRunCountTotalDao;

    /**
     * 添加
     * @param entity
     * @return
     */
    public int add(TabRunCountEntity entity){
        return tabRunCountTotalDao.add(entity);
    }
}
